Use find -exec with '+' for grep-find if supported.
authorGlenn Morris <rgm@gnu.org>
Sat, 2 Apr 2011 18:52:08 +0000 (11:52 -0700)
committerGlenn Morris <rgm@gnu.org>
Sat, 2 Apr 2011 18:52:08 +0000 (11:52 -0700)
commite842b095170c2258d090cc88fe862d01d9bdfe08
treee82b3e2119b42c5ab1a78eede62798ad12685105
parent9c74c7cc15608bd2eec3e3a8ea5ab9be7f96465d
Use find -exec with '+' for grep-find if supported.

* lisp/progmodes/grep.el (grep-find-use-xargs): Doc fix.
(grep-compute-defaults): Check for `-exec COMMAND +' support.
Set grep-find-use-xargs, grep-find-command, and grep-find-template
accordingly.  Don't add the null-device if not needed.
lisp/ChangeLog
lisp/progmodes/grep.el